privoxy: bump to version 4.0.0
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 22 Nov 2025 10:48:44 +0000 (11:48 +0100)
committerHannu Nyman <hannu.nyman@iki.fi>
Sat, 22 Nov 2025 16:59:30 +0000 (18:59 +0200)
commitaeec6c6ce15867114589d2ebd45adcf034dad072
tree475c0235f11e74ac655720e1bcfa22dd67b93b61
parent0d384d4b8924a13615b1043437e92dccf36b9d5b
privoxy: bump to version 4.0.0

Bump privoxy to version 4.0.0. Every PCRE2 patch got merged and this
also fix compilation error currently present with the package.

filters.c: In function 'get_filter_function':
filters.c:2104:23: error: assignment to 'filter_function_ptr' {aka 'char * (*)(void)'} from incompatible pointer type 'char * (*)(struct client_state *)' [-Wincompatible-pointer-types]
 2104 |       filter_function = pcrs_filter_response_body;
      |                       ^
filters.c:2109:23: error: assignment to 'filter_function_ptr' {aka 'char * (*)(void)'} from incompatible pointer type 'char * (*)(struct client_state *)' [-Wincompatible-pointer-types]
 2109 |       filter_function = gif_deanimate_response;
      |                       ^
filters.c: In function 'execute_content_filters':
filters.c:2547:42: error: too many arguments to function 'content_filter'
 2547 |    content = (content_filter != NULL) ? (*content_filter)(csp) : NULL;
      |                                         ~^~~~~~~~~~~~~~~~

Reading the Changelog, no regression should arise from the package bump.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
net/privoxy/Makefile
net/privoxy/patches/100-Add-pcre2-support.patch [deleted file]
net/privoxy/patches/101-Add-regex_matches-to-reduce-HAVE_PCRE2-ifdefs.patch [deleted file]
net/privoxy/patches/102-configure-Fix-disable-pcre2.patch [deleted file]
net/privoxy/patches/103-pcre2-compile_pattern-Actually-pass-the-anchored-pat.patch [deleted file]